import axios from "../utils/axios";

export const loginApi = (username: string, password: string) => {
  return axios.post<{ token: string }>("/auth/login", { username, password });
};
